package com.gc.business.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gc.common.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.util.Date;

/**
 * 电梯保养项目记录表 gc_upkeep_project_record
 * 
 * @author hruiyan
 * @date 2020-11-18
 */
@EqualsAndHashCode(callSuper = true)
@ToString
@Data
@Accessors(chain = true)
@TableName("gc_upkeep_project_record")
public class UpkeepProjectRecord extends BaseEntity{
    private static final long serialVersionUID = 1L;

    @TableId
    private Long recordId;
	
    /**
    * 关联保养ID
    */
    private Long upkeepId;
    /**
    * 保养项名称
    */
    private String projectName;
    /**
    * 保养项要求
    */
    private String projectRequire;
    /**
    * 保养结果（1.已保养，2.未）
    */
    private String upkeepResult;
    /**
    * 保养项类型（1.机房、2.层站、3.轿厢、4.井道）0.扶梯
    */
    private String projectType;

    public UpkeepProjectRecord(Long upkeepId,String projectName,String projectRequire,String upkeepResult,String projectType){
        this.upkeepId = upkeepId;
        this.projectName = projectName;
        this.projectRequire = projectRequire;
        this.upkeepResult = upkeepResult;
        this.projectType = projectType;
    };

    public UpkeepProjectRecord(){};
}
